package net.adetech.cjg.innerservice.mapper;

import net.adetech.cjg.innerservice.entity.FrmCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FrmCodeDao {
    @Select("select * from FRM_CODE where dmlb = #{dmlb} and xtlb = #{xtlb} order by dmz")
    List<FrmCode> getFrmCodeList(@Param("dmlb")String dmlb,@Param("xtlb")String xtlb);


    @Select("select * from FRM_CODE where XTLB = '00' and dmlb = '0033' order by DMZ")
    List<FrmCode> getXzqhFrmCodeList();
}
